home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 9 / 500 MB nyheder direkte fra internet CD 9.iso / start / zipped / dos / novell / sdk.exe / SDK / INCLUDE / NWREDIR.H < prev    next >
C/C++ Source or Header  |  1995-05-10  |  2KB  |  116 lines

  1. /******************************************************************************
  2.  
  3.   $Workfile:   nwredir.h  $
  4.   $Revision:   1.11  $
  5.   $Modtime::   10 May 1995 11:26:14                        $
  6.   $Copyright:
  7.  
  8.   Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
  9.  
  10.   THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  11.   TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  12.   COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  13.   EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  14.   WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  15.   OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  16.   CRIMINAL AND CIVIL LIABILITY.$
  17.  
  18.  *****************************************************************************/
  19. #if ! defined ( NWREDIR_H )
  20. #define NWREDIR_H
  21.  
  22. #if ! defined ( NTYPES_H )
  23. #include "ntypes.h"
  24. #endif
  25.  
  26. #if ! defined ( NWCALDEF_H )
  27. # include "nwcaldef.h"
  28. #endif
  29.  
  30. #include "npackon.h"
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35.  
  36. #if !defined(NWOS2) || !defined(WIN32)
  37.  
  38. #ifndef REDIR_SIGNATURE
  39. #define REDIR_SIGNATURE 'WN'
  40.  
  41. typedef struct tNW_REDIR_ENTRY
  42. {
  43.   nuint16 index;
  44.   nuint8  deviceStatus;
  45.   nuint8  deviceType;
  46.   nuint16 storedValue;
  47.   nstr8   localName[16];
  48.   nstr8   networkName[128];
  49. } NW_REDIR_ENTRY;
  50. #endif
  51.  
  52. /* obsolete
  53. NWCCODE N_API NWRedirLogin
  54. (
  55.    pnstr8 pbstrServerName,
  56.    pnstr8 pbstrUserName,
  57.    pnstr8 pbstrPassword
  58. );
  59. */
  60.  
  61. N_EXTERN_LIBRARY( NWCCODE )
  62. NWRedirLogout
  63. (
  64.    pnstr8 pbstrServerName
  65. );
  66.  
  67. N_EXTERN_LIBRARY( NWCCODE )
  68. NWRedirectDevice
  69. (
  70.    pnstr8 pbstrUNCPath,
  71.    nuint8 buDevice
  72. );
  73.  
  74. N_EXTERN_LIBRARY( NWCCODE )
  75. NWCancelRedirection
  76. (
  77.    nuint8 buDevice
  78. );
  79.  
  80. N_EXTERN_LIBRARY( NWCCODE )
  81. NWGetRedirectionEntry
  82. (
  83.    NW_REDIR_ENTRY N_FAR * entry
  84. );
  85.  
  86. #endif
  87.  
  88. N_EXTERN_LIBRARY( NWCCODE )
  89. NWParseUNCPath
  90. (
  91.    pnstr8   pbstrUNCPath,
  92.    NWCONN_HANDLE N_FAR * conn,
  93.    pnstr8   pbstrServerName,
  94.    pnstr8   pbstrVolName,
  95.    pnstr8   pbstrPath,
  96.    pnstr8   pbstrNWPath
  97. );
  98.  
  99. N_EXTERN_LIBRARY( NWCCODE )
  100. NWParseUNCPathConnRef
  101. (
  102.    pnstr8   pbstrUNCPath,
  103.    pnuint32 pluConnRef,
  104.    pnstr8   pbstrServerName,
  105.    pnstr8   pbstrVolName,
  106.    pnstr8   pbstrPath,
  107.    pnstr8   pbstrNWPath
  108. );
  109.  
  110. #ifdef __cplusplus
  111. }
  112. #endif
  113.  
  114. #include "npackoff.h"
  115. #endif   /* NWREDIR_H */
  116.